Skip to content

[17.0][MIG] stock_picking_batch_extended: Migration to version 17.0 - #1997

Merged
OCA-git-bot merged 42 commits into
OCA:17.0from
Tecnativa:17.0-mig-stock_picking_batch_extended
Dec 4, 2026
Merged

OCA-git-bot merged 42 commits into
OCA:17.0from
Tecnativa:17.0-mig-stock_picking_batch_extended

Conversation

@david-banon-tecnativa

Copy link
Copy Markdown

Backport from 18.0 #1855

@Tecnativa @carlosdauden @pedrobaeza
TT52372

@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot migration stock_picking_batch_extended

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Jun 23, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Jun 23, 2025
54 of 75 tasks

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review

@pedrobaeza
pedrobaeza requested a review from carlosdauden June 23, 2025 15:15
/>
</xpath>
<xpath expr="//div[@name='button_box']" position="inside">
<button

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, add this missed commit:
d67c904

@david-banon-tecnativa
david-banon-tecnativa force-pushed the 17.0-mig-stock_picking_batch_extended branch from cf70032 to 940a2be Compare June 24, 2025 11:09
@david-banon-tecnativa

Copy link
Copy Markdown
Author

@carlosdauden Added missing commits, please review again

<field name="quantity" position="attributes">
<attribute
name="invisible"
>state in ('done', 'cancel') or is_locked</attribute>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These conditions make it impossible to modify the field...
In 15.0 this was the condition:
https://github.com/OCA/stock-logistics-workflow/blob/15.0/stock_picking_batch_extended/views/stock_move_views.xml#L66

However, what really needs to be replicated are the conditions of the lines in the delivery note.

<field name="result_package_id" position="attributes">
<attribute
name="readonly"
>state in ('done', 'cancel') or is_locked</attribute>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same as mentioned above for the field quantity

<field name="package_id" position="attributes">
<attribute
name="readonly"
>state in ('done', 'cancel') or is_locked</attribute>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same as mentioned above for the field quantity

<field name="lot_name" position="attributes">
<attribute
name="readonly"
>state in ('done', 'cancel') or is_locked</attribute>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same as mentioned above for the field quantity

<field name="lot_id" position="attributes">
<attribute
name="readonly"
>state in ('done', 'cancel') or is_locked</attribute>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same as mentioned above for the field quantity

@david-banon-tecnativa
david-banon-tecnativa force-pushed the 17.0-mig-stock_picking_batch_extended branch 2 times, most recently from e830c29 to 63969b7 Compare June 25, 2025 09:10
@pedrobaeza

Copy link
Copy Markdown
Member

Blocked by #2001

@carlos-lopez-tecnativa

Copy link
Copy Markdown

@david-banon-tecnativa please review this commit 36bc143 Some of these changes are also applicable to the migration to 17.0.

@david-banon-tecnativa
david-banon-tecnativa force-pushed the 17.0-mig-stock_picking_batch_extended branch from 63969b7 to 509bad3 Compare October 24, 2025 16:13
@david-banon-tecnativa

david-banon-tecnativa commented Oct 24, 2025 •

Copy link
Copy Markdown
Author

Rebased onto latest branch and implemented changes made on migration to 18.0 as suggested by @carlos-lopez-tecnativa

@github-actions

Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions Bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Feb 22, 2026
@github-actions github-actions Bot closed this Mar 29, 2026
@edescalona

Copy link
Copy Markdown

Hi @pedrobaeza and @david-banon-tecnativa , can't this PR be reopened and merged again?

@pedrobaeza pedrobaeza reopened this May 11, 2026
@OCA-git-bot OCA-git-bot added series:17.0 mod:stock_picking_batch_extended Module stock_picking_batch_extended labels May 11, 2026
@pedrobaeza pedrobaeza removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label May 11, 2026
@david-banon-tecnativa
david-banon-tecnativa force-pushed the 17.0-mig-stock_picking_batch_extended branch from 509bad3 to ae4c449 Compare May 11, 2026 14:16
@david-banon-tecnativa

Copy link
Copy Markdown
Author

@edescalona We have reopened and rebased this, however ci is still red due to #2001.

sergio-teruel and others added 19 commits December 4, 2026 08:34
…up security can not select fields to group picking batch
Currently translated at 21.4% (15 of 70 strings)

Translation: stock-logistics-workflow-15.0/stock-logistics-workflow-15.0-stock_picking_batch_extended
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-15-0/stock-logistics-workflow-15-0-stock_picking_batch_extended/it/
Currently translated at 100.0% (70 of 70 strings)

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_batch_extended
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_batch_extended/es/
Currently translated at 100.0% (65 of 65 strings)

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_batch_extended
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_batch_extended/es/
…Picking group

[REF] stock_picking_batch_extended: update picking_batch_configuration_settings img configuration
Currently translated at 22.2% (14 of 63 strings)

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_batch_extended
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_batch_extended/it/
Currently translated at 84.1% (53 of 63 strings)

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_batch_extended
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_batch_extended/pt_BR/
Currently translated at 100.0% (63 of 63 strings)

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_batch_extended
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_batch_extended/it/
Currently translated at 100.0% (63 of 63 strings)

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_batch_extended
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_batch_extended/pt_BR/
Currently translated at 100.0% (63 of 63 strings)

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_batch_extended
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_batch_extended/it/
…icking report on "print deliveries" button

TT50661
…perations from batch picking with smart buttons
Add the relation to the batch picking in the stock.move so we can filter
/ group by that criteria.

TT47127
@pilarvargas-tecnativa
pilarvargas-tecnativa force-pushed the 17.0-mig-stock_picking_batch_extended branch from ae4c449 to ed6dd0c Compare December 4, 2026 07:49
@oca-cla-bot

oca-cla-bot Bot commented Dec 4, 2026

Copy link
Copy Markdown

The following commit authors need to sign the Contributor License Agreement:

CLA not signed

@pilarvargas-tecnativa

Copy link
Copy Markdown

The failing tests are due to an incompatibility with stock_picking_group_by_partner_by_carrier, which is fixed in #2598.

@pedrobaeza

Copy link
Copy Markdown
Member

Let's try now:

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 17.0-ocabot-merge-pr-1997-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 4b62fd6 into OCA:17.0 Dec 4, 2026
3 of 6 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at eefa2c2. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza
pedrobaeza deleted the 17.0-mig-stock_picking_batch_extended branch December 4, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.